#! /usr/bin/env python
import rospy
from geometry_msgs.msg import PoseStamped

rospy.init_node("test")
position_pub = rospy.Publisher('/test/pose', PoseStamped, queue_size=1)
rate = rospy.Rate(60)

local_pose = PoseStamped()
local_pose.header.frame_id = 'world'
local_pose.pose.position.x = 10
local_pose.pose.position.y = 10
local_pose.pose.position.z = 10
local_pose.pose.orientation.w = 10
local_pose.pose.orientation.x = 10
local_pose.pose.orientation.y = 10
local_pose.pose.orientation.z = 10


while not rospy.is_shutdown():
    local_pose.header.stamp = rospy.Time.now()
    position_pub.publish(local_pose)
    rate.sleep()